
#ifndef TEST_C_H
#define TEST_C_H

#include "TestB.h"
#include <string>

//Our includes
#include <plBool>
#include <plString>
#include <plPointer>

class TestC : public TestB {
	
        pl_DECLARE_CLASS
	
	public:
		
	TestC();
	
	~TestC();
	
        const std::string& GetName() { return Name; }
	int GetCached() { return Cached; }
	TestB* GetLeft() { return Left; }
	TestB* GetRight() { return Right; }
	
        void SetName(const std::string& str) { Name = str; }
        void SetCached( bool value) { Cached = value; }
        void SetRight(TestB* pointer) { Right = pointer; }
        void SetLeft(TestB* pointer) { Left = pointer; }
	
	protected:
        plString Name;
        plBool Cached;
        plPointer<TestB> Left;
        plPointer<TestB> Right;
	
};

#endif
